package com.cyy.WolfAnsweringPlatform.constant;
/*reids配置*/
//redis常量
public interface RedisConstant {
    String USER_LOGIN_STATE = "user:signs:";
//默认方法，不用单独写实现类
    static String getUserSignKey(int year, long userId)
    {
        return String.format("%s,%s,%s",USER_LOGIN_STATE,year,userId);
    }
}
